home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (4th Edition)
/
The Business Master - 4th Edition.iso
/
files
/
windssor
/
bookwin
/
setup.bat
< prev
next >
Wrap
DOS Batch File
|
1993-03-15
|
2KB
|
65 lines
@REM SETUP.BAT; Bookbild/Windows 1.0
@REM Copyright 1993 Jerry Stern--All Rights Reserved, 3/93
@echo off
cls
if not exist bookwin.doc goto baddir
if not exist bookbild.wcm goto baddir
if not exist bookbt37.wpg goto baddir
if "%1"=="" goto info
if "%2"=="" goto info
if not exist %2\*.* goto nomac
if not exist %1\*.* goto new
ECHO Upgrade Installation to Windows version
ECHO Your DOS version graphics and docs will not be replaced.
goto more
:new
ECHO New Installation of version 1.0
:more
ECHO ...
ECHO Files for Bookbild 1.0 for WP/Windows will now be copied:
ECHO The macro will be copied to %2.
ECHO A partial set of the instructions and graphics will be copied
ECHO to the directory %1. You will need about 200K of free space.
ECHO ...
ECHO Press any key to proceed with installation, or Control-C to stop now.
pause > nul
copy bookbild.wcm %2
if not exist %1\*.* md %1
copy *.doc %1\*.*
copy *.wpg %1\*.*
copy readme.now %1\*.*
copy printman.bat %1\*.*
ECHO Done...
ECHO If you haven't already,
ECHO run PRINTMAN.BAT for instructions on printing the manual.
goto end
:nomac
ECHO Bookbild/Windows 1.0 Installation
ECHO The directory that you have chosen to copy the macro to
ECHO is empty or doesn't exist. Please check the name, and try again.
goto end
:baddir
ECHO Bookbild/Windows 1.0 Installation
ECHO You must start this installation by logging to the drive and directory
ECHO where the files are currently located. When you run SETUP from that
ECHO directory, it will help you find the correct startup command to
ECHO install your software.
goto end
:info
ECHO Bookbild/Windows 1.0 Installation
ECHO Start SETUP.BAT with the new directory name to make for
ECHO storing Bookbild instructions and graphics, and the name
ECHO of the macro directory used by WordPerfect, usually
ECHO c:\wpwin\macros or c:\wpwin.
ECHO ...
ECHO If you don't know where WP/WIN keeps your macros,
ECHO choose File, Preferences, Location of Files, and write
ECHO down the entry under "Macros/Keyboards/Button Bars" and
ECHO enter it from the DOS prompt. (Press Escape to return to
ECHO the document screen.)
ECHO ...
ECHO For example:
ECHO SETUP c:\Bookbild c:\wpwin\macros
ECHO (Copies package to c:\Bookbild, using c:\wpwin\macros for macros.)
:end
PAUSE